import {get,post,put,del} from '@/util/service'

export const bannerApi=(data)=>{
    return get({
        url:"/banner/view",
        data
    })
}
export const listApi=(data)=>{
    return get({
        url:"/banner/page",
        data
    })
}
export const addBannerApi=(data)=>{
    return post({
        url:"/banner/addBanner",
        data
    })
}
export const delBannerApi=(data)=>{
    return del({
        url:"/banner/delBanner",
        data
    })
}
export const updateBannerApi=(data)=>{
    return put({
        url:"/banner/updateBanner",
        data
    })
}